package com.example.school.controller.user;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.example.school.pojo.Notify;
import com.example.school.service.NotifyService;
import com.example.school.utils.common.result.Result;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/user/notify")
public class NotifyController {

    @Autowired
    private NotifyService notifyService;

    @GetMapping("/get_user_notify_list")
    public Result getUserNotifyList(){
        return notifyService.getUserNotifyList();
    }

}
